package org.example.info;

import lombok.Data;

import java.util.Date;

@Data
public class Record {
    private Integer id;
    private Integer bookID;
    private Integer userID;
    private Date time;
    private Integer type;

    public Record(Integer id, Integer bookID, Integer userID, Date time, Integer type) {
        this.id = id;
        this.bookID = bookID;
        this.userID = userID;
        this.time = time;
        this.type = type;
    }
}
